package ${packageName};

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;

@Service
public class ${className}ServiceImpl implements ${className}Service {
    @Resource
    private ${className}Mapper ${className?uncap_first}Mapper;

    @Override
    public IPage<${className}> pageList(int page, int pageSize) {
        Page<${className}> pageParam = new Page<>(page, pageSize);
        return ${className?uncap_first}Mapper.selectPage(pageParam, null);
    }
} 